package com.qys.erp.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品出库对象 erp_delivery
 * 
 * @author qys
 * @date 2021-08-22
 */
public class Delivery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long delId;

    /** 出库编号 */
    @Excel(name = "出库编号")
    private String delSn;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 客户 */
    @Excel(name = "客户")
    private Long customerId;

    /** 产品 */
    @Excel(name = "产品")
    private Long productId;

    /** 类型 */
    @Excel(name = "类型")
    private String delType;

    /** 状态 */
    @Excel(name = "状态")
    private String delStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String delRemark;

    /** 备注 */
    @Excel(name = "行为类型")
    private Long actionType;



    /** 出库记录信息 */
    private List<DeliveryLog> deliveryLogList;

    public void setDelId(Long delId) 
    {
        this.delId = delId;
    }

    public Long getDelId() 
    {
        return delId;
    }
    public void setDelSn(String delSn) 
    {
        this.delSn = delSn;
    }

    public String getDelSn() 
    {
        return delSn;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setDelType(String delType) 
    {
        this.delType = delType;
    }

    public String getDelType() 
    {
        return delType;
    }
    public void setDelStatus(String delStatus) 
    {
        this.delStatus = delStatus;
    }

    public String getDelStatus() 
    {
        return delStatus;
    }
    public void setDelRemark(String delRemark) 
    {
        this.delRemark = delRemark;
    }

    public String getDelRemark() 
    {
        return delRemark;
    }

    public List<DeliveryLog> getDeliveryLogList()
    {
        return deliveryLogList;
    }

    public void setDeliveryLogList(List<DeliveryLog> deliveryLogList)
    {
        this.deliveryLogList = deliveryLogList;
    }

    public Long getActionType() { return actionType; }

    public void setActionType(Long actionType) {this.actionType = actionType; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("delId", getDelId())
            .append("delSn", getDelSn())
            .append("userId", getUserId())
            .append("customerId", getCustomerId())
            .append("productId", getProductId())
            .append("delType", getDelType())
            .append("delStatus", getDelStatus())
            .append("delRemark", getDelRemark())
            .append("actionType", getActionType())
            .append("deliveryLogList", getDeliveryLogList())
            .toString();
    }
}
